package com.ruoyi.recycle.utils.kuaidi.core;


import com.ruoyi.recycle.utils.kuaidi.dto.BaseRequest;
import com.ruoyi.recycle.utils.kuaidi.dto.BaseResponse;
import com.ruoyi.recycle.utils.kuaidi.dto.HttpResult;

/**
 * @Author: api.kuaidi100.com
 * @Date: 2020-11-25 16:09
 */
public interface IBaseClient {

    HttpResult execute(BaseRequest request) throws Exception;

    BaseResponse executeToObject(BaseRequest request) throws Exception;

    void setTimeOut(int connectTimeout,int socketTimeout);
}
